package com.example.a2032.entity;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "PPGDATA")
public class PPGMeasureData {


    @PrimaryKey
    @NonNull
    String date;
    public final static int MeasureData_ECGHR = 1;
    //心率
    public final static int MeasureData_PPGHR = 2;
    //血压
    public final static int MeasureData_PPGBP = 3;
    //血氧
    public final static int MeasureData_PPGSPO2 = 4;
    public final static int MeasureData_PPGStress = 5;
    public final static int MeasureStatus_WearOn = 0;
    public final static int MeasureStatus_WearOff = 1;
    int dataType;
    //0穿戴，1脱手
    int wearStatus;
    int heartRate;
    int moveStatus;
    int measureValue;
    int stressValue;
    int sbpValue;
    int dbpValue;
    int measureProgress;

    public int getMeasureProgress() {
        return measureProgress;
    }

    public void setMeasureProgress(int measureProgress) {
        this.measureProgress = measureProgress;
    }

    public int getStressValue() {
        return stressValue;
    }

    public void setStressValue(int stressValue) {
        this.stressValue = stressValue;
    }

    public int getSbpValue() {
        return sbpValue;
    }

    public void setSbpValue(int sbpValue) {
        this.sbpValue = sbpValue;
    }

    public int getDbpValue() {
        return dbpValue;
    }

    public void setDbpValue(int dbpValue) {
        this.dbpValue = dbpValue;
    }

    public int getDataType() {
        return dataType;
    }

    public void setDataType(int dataType) {
        this.dataType = dataType;
    }

    public int getWearStatus() {
        return wearStatus;
    }

    public void setWearStatus(int wearStatus) {
        this.wearStatus = wearStatus;
    }

    public int getHeartRate() {
        return heartRate;
    }

    public void setHeartRate(int heartRate) {
        this.heartRate = heartRate;
    }

    public int getMoveStatus() {
        return moveStatus;
    }

    public void setMoveStatus(int moveStatus) {
        this.moveStatus = moveStatus;
    }

    public int getMeasureValue() {
        return measureValue;
    }

    public void setMeasureValue(int measureValue) {
        this.measureValue = measureValue;
    }

    @NonNull
    public String getDate() {
        return date;
    }

    public void setDate(@NonNull String date) {
        this.date = date;
    }
}
